//
//  STMainPageModel.h
//  YiYueStore
//
//  Created by zhouzhouzhou on 2018/10/16.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "BaseModel.h"

@interface STMainPageModel : NSObject
@end


//门店首页图片
@protocol STDoorPageImgModel
@end
@interface STDoorPageImgModel : NSObject

@property(nonatomic, assign) long objectId;
@property(nonatomic, assign) int status;
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) int type;
@property(nonatomic, strong) NSString * path;
@end

//门店审核状态
@protocol STDoorExamineModel
@end
@interface STDoorExamineModel : NSObject

@property(nonatomic, assign) int status;
@property(nonatomic, strong) NSString * cardno;
@property(nonatomic, strong) NSString *licenseno;
@property(nonatomic, strong) NSString *realname;
@property(nonatomic, strong) NSString *updatetime;
@property(nonatomic, strong) NSArray *remark;
@property(nonatomic, strong) NSArray *storephotosPaths;
@property(nonatomic, strong) NSString *handIDcardPath;
@property(nonatomic, strong) NSString *businesslicensePath;
@property(nonatomic, strong) NSString *storeBackgroundPath;
@end

@protocol STDoorLocalModel
@end
@interface STDoorLocalModel : NSObject

@property(nonatomic, assign) double distance;
@property(nonatomic, assign) bool isCollection;
@property(nonatomic, assign) long stylistId;
@property(nonatomic, strong) NSString * storeName;
@property(nonatomic, strong) NSString * grade;
@property(nonatomic, strong) NSString *location;
@property(nonatomic, strong) NSArray *storePhotos;

@end

@protocol STDoorHairerModel
@end
@interface STDoorHairerModel : NSObject
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) long userId;
@property(nonatomic, strong) NSString * stylistName;
@property(nonatomic, strong) NSString * coverImg;
@end

//门店服务类型
@protocol STDoorServiceModel
@end
@interface STDoorServiceModel : NSObject
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) long objectId;
@property(nonatomic, strong) NSString * name;
@property(nonatomic, strong) NSString * describe;
@property(nonatomic, strong) NSArray * catergoryNames;
@end

@protocol STDoorCommonModel
@end
@interface STDoorCommonModel : NSObject
@property(nonatomic, assign) long score;
@property(nonatomic, assign) long scoreCount;
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) float comprehensive;
@property(nonatomic, assign) float skill;
@property(nonatomic, assign) float server;

@end

@protocol STDoorInfoModel
@end
@interface STDoorInfoModel : NSObject

@property(nonatomic, strong) STDoorLocalModel * localInfo;
@property(nonatomic, strong) NSArray<STDoorHairerModel> * hairerInfos ;
@property(nonatomic, strong) STDoorServiceModel * serviceInfo;
@property(nonatomic, strong) STDoorCommonModel * commonInfo;

@end

// 查询当前门店，技师申请状态
@protocol STDoorApplyStatusModel
@end
@interface STDoorApplyStatusModel : NSObject
@property(nonatomic, copy) NSString * mobile;
@property(nonatomic, copy) NSString * applyStatus;
@property(nonatomic, copy) NSString * userIMName;
@property(nonatomic, copy) NSString * storeIMName;
@property(nonatomic, copy) NSString * nexus;
@property(nonatomic, copy) NSString * stylistId;
@end

//门店服务设置
@protocol STDoorSettingInfoModel
@end
@interface STDoorSettingInfoModel : NSObject

@property(nonatomic, strong) NSString * endtime;
@property(nonatomic, strong) NSString * starttime;
@property(nonatomic, strong) NSString * workday;
@property(nonatomic, assign) long objectId;
@property(nonatomic, assign) int open;
@property(nonatomic, assign) int stationlock;
@property(nonatomic, assign) int station;
@property(nonatomic, assign) long stylistId;
@end
//门店服务设置
@protocol STDoorServiceSetInfoModel
@end
@interface STDoorServiceSetInfoModel : NSObject

@property(nonatomic, strong) NSString * categoryIds;
@property(nonatomic, strong) STDoorSettingInfoModel * storeSettingInfo ;

@end

//评论

@protocol STCommentInfoModel
@end
@interface STCommentInfoModel : NSObject
@property(nonatomic, assign) int userId;
@property(nonatomic, assign) long objectId;
@property(nonatomic, strong) NSString * comment;
@property(nonatomic, strong) NSString * createtime;
@property(nonatomic, strong) NSString * headImg;
@property(nonatomic, strong) NSArray * imgPaths;
@property(nonatomic, assign) float level;
@property(nonatomic, strong) NSString * reply;
@property(nonatomic, strong) NSString * serviceName;
@property(nonatomic, strong) NSString * name;
@end

@protocol STCommentsModel
@end
@interface STCommentsModel : NSObject
@property(nonatomic, strong) NSArray<STCommentInfoModel> * data ;

@end


#pragma mark - 美发师
//时间管理
@protocol STHairTimerModel
@end
@interface STHairTimerModel : NSObject

@property(nonatomic, assign) long objectId;
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) int workday;
@property(nonatomic, assign) int status;
@property(nonatomic, strong) NSString * starttime;
@property(nonatomic, strong) NSString * endtime;
@end

//美发师列表 简介信息
@protocol STHairBriefInfoModel
@end
@interface STHairBriefInfoModel : NSObject
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) long userId;
@property(nonatomic, assign) float star;
@property(nonatomic, assign) float price;
@property(nonatomic, assign) int monthOrder;
@property(nonatomic, assign) double distance;
@property(nonatomic, assign) int commentNumber;
@property(nonatomic, assign) float totalPerformance;
@property(nonatomic, assign) int waitVerification;
@property(nonatomic, strong) NSString * service;
@property(nonatomic, strong) NSString * position;
@property(nonatomic, strong) NSString * nickname;
@property(nonatomic, strong) NSString * headPortrait;
@end

//美发师部分信息
@protocol STHairGradeModel
@end
@interface STHairGradeModel : NSObject
@property(nonatomic, assign) float point;
@property(nonatomic, strong) NSString * gradeDescrip;
@property(nonatomic, strong) NSString * gradeType;
@end


@protocol STHairOpusModel
@end
@interface STHairOpusModel : NSObject
@property(nonatomic, assign) long stylistOpusId;
@property(nonatomic, strong) NSString * stylistOpusCovers;
@end

@protocol STHairServerModel
@end
@interface STHairServerModel : NSObject
@property(nonatomic, assign) float price;
@property(nonatomic, assign) long serviceId;
@property(nonatomic, assign) int type;
@property(nonatomic, strong) NSString * name;
@property(nonatomic, strong) NSString * picture;
@end




@protocol STHairPackageModel
@end
@interface STHairPackageModel : NSObject
@property(nonatomic, assign) float price;
@property(nonatomic, assign) long packageId;
@property(nonatomic, strong) NSString * name;
@end

@protocol STHairStoreModel
@end
@interface STHairStoreModel : NSObject
@property(nonatomic, assign) double distance;
@property(nonatomic, assign) long stylistId;
@property(nonatomic, strong) NSString * location;
@property(nonatomic, strong) NSString * storename;
@property(nonatomic, strong) NSString * picture;
@end
@protocol STHairCouponModel
@end
@interface STHairCouponModel : NSObject
@property(nonatomic, assign)float amount ;//满足使用的金额 ,
@property(nonatomic, assign)long couponId ;//优惠券ID ,
@property(nonatomic, assign)float deduction ;// 抵扣金额 或者 折扣 ,
@property(nonatomic, assign)int limited;//领取限制方式 0 数量 1 日 2 周 3 月 4 年 ,
@property(nonatomic, assign)int type ;// 优惠券类型 1 满减 2 折扣
@property(nonatomic, assign)float percentage ;// 已抢的百分比
@end
//美发师详细信息
@protocol STHairDetailInfoModel
@end
@interface STHairDetailInfoModel : NSObject
@property(nonatomic, assign) long stylistId;
@property(nonatomic, assign) long userId;
@property(nonatomic, assign) float star;
@property(nonatomic, assign) float price;
@property(nonatomic, assign) int point;
@property(nonatomic, assign) int scoreCount;//总评价数
@property(nonatomic, assign) BOOL isCollection;
@property(nonatomic, assign) int nexus; //0-入驻。1-签约 2-没关系
@property(nonatomic, strong) NSString * imusername;//环信ID
@property(nonatomic, strong) NSString * serviceTime;//服务时间
@property(nonatomic, strong) NSString * yearbirth;//属相信息（85后/白羊座）
@property(nonatomic, strong) NSString * gender;//1男 2女
@property(nonatomic, strong) NSString * headPortrait;
@property(nonatomic, strong) NSString * introduction;//简介
@property(nonatomic, strong) NSString * lable;
@property(nonatomic, strong) NSString * mobile;
@property(nonatomic, strong) NSString * nickname;
@property(nonatomic, strong) NSString * position;
@property(nonatomic, strong) NSString * serverTypes;
@property(nonatomic, strong) NSArray<STHairGradeModel> * cardGradeDTOs;//评价列表
@property(nonatomic, strong) NSArray<STHairOpusModel> * cardOpusDTOs;//作品列表
@property(nonatomic, strong) NSArray<STHairServerModel> * cardServerItems;//服务类型列表
@property(nonatomic, strong) NSArray<STHairCouponModel> * cardCouponDTOs;//优惠卷
@property(nonatomic, strong) NSArray<STHairPackageModel> * cardPackages;//套餐列表
@property(nonatomic, strong) NSArray<STHairStoreModel> * cardStoreDTOs;//入驻门店列表

@end

//美发师作品发型
@protocol STHairHairstyleModel
@end
@interface STHairHairstyleModel : NSObject
@property(nonatomic, assign) int count;
@property(nonatomic, assign) long hairstyleId;
@property(nonatomic, strong) NSString * hairstyleName;
@end
//美发师作品脸型
@protocol STHairFeaTureModel
@end
@interface STHairFeaTureModel : NSObject
@property(nonatomic, assign) int count;
@property(nonatomic, assign) long feaTureId;
@property(nonatomic, strong) NSString * feaTureName;
@end
//美发师作品
@protocol STHairStylistOpusModel
@end
@interface STHairStylistOpusModel : NSObject
@property(nonatomic, assign) long stylistOpusId;
@property(nonatomic, strong) NSString * stylistOpusCovers;
@end

//美发师作品简介信息
@protocol STHairProInfoModel
@end
@interface STHairProInfoModel : NSObject

@property(nonatomic, strong) NSArray<STHairHairstyleModel> * opusFeaTureList;// 脸型集合
@property(nonatomic, strong) NSArray<STHairFeaTureModel> * opusHairstyleList;//发型集合 ,
@property(nonatomic, strong) NSArray<STHairStylistOpusModel> * opusList;//作品集合
@end

//美发师作品详情信息
@protocol STHairProDetailInfoModel
@end
@interface STHairProDetailInfoModel : NSObject

@property(nonatomic, assign) int collection;
@property(nonatomic, assign) BOOL isCollection;
@property(nonatomic, assign) int pageview;
@property(nonatomic, assign) int reposted;
@property(nonatomic, assign) long opusId;
@property(nonatomic, strong) NSString * describe;
@property(nonatomic, strong) NSArray * pictrue;
@end


//美发师服务简介
@protocol STHairServiceInfoModel
@end
@interface STHairServiceInfoModel : NSObject
@property(nonatomic,strong) NSString * begintime;// 开始服务时间 ,
@property(nonatomic, assign)int deadline;//期限（天） ,
@property(nonatomic,strong) NSString * endtime;//结束服务时间 ,
@property(nonatomic, assign)float fromPrice ;//价格起点 ,
@property(nonatomic, assign)int online ;// 是否上架0下架1上架 ,
@property(nonatomic, strong)NSArray *pictures ;
@property(nonatomic, assign)float price ;//价格 ,
@property(nonatomic, assign)int priceType ;//价格类型1确定价格（price），2价格区间（fromPrice，toPrice） ,
@property(nonatomic, assign)int sell ;//销量 ,
@property(nonatomic, assign)int serviceId ;//服务id ,
@property(nonatomic, strong) NSString *serviceName ;// 服务名称 ,
@property(nonatomic, assign)int storeLimit ;// 是否限门店0不限1限制 ,
@property(nonatomic, assign)float toPrice ;//价格高点 ,
@property(nonatomic, assign)int isoption ;//是否包含可选项 ,
@property(nonatomic, assign)int type ;//服务类型 0普通服务1单项套餐2多项套餐
@end

#pragma mark 位置
@protocol STCityInfoModel
@end
@interface STCityInfoModel : NSObject
@property(nonatomic, assign) int level;
@property(nonatomic, assign) long parentId;
@property(nonatomic, assign) int provinceId;
@property(nonatomic, assign) long areaId;
@property(nonatomic, assign) long areaParentId;
@property(nonatomic, assign) long objectId;
@property(nonatomic, strong) NSString * name;
@property(nonatomic, strong) NSArray<STCityInfoModel> * areaList;
@end

#pragma mark 订单

//订单统计
@protocol STOrderCountModel
@end
@interface STOrderCountModel : NSObject
@property(nonatomic, assign) int orderNum;
@property(nonatomic, assign) int verificationOrderNum;
@property(nonatomic, assign) double incomeMoney;
@property(nonatomic, assign) double achievementMoeny;
@end
//订单统计总计
@protocol STOrderSumCountSumModel
@end
@interface STOrderSumCountSumModel : NSObject
@property(nonatomic, assign) int orderNum;
@property(nonatomic, assign) double incomeMoney;
@property(nonatomic, assign) double achievementMoeny;
@property(nonatomic, strong) NSString * imgPath;
@property(nonatomic, strong) NSString * nickname;
@end

////订单统计详情
//@protocol STOrderCountInfoModel
//@end
//@interface STOrderCountInfoModel : NSObject
//@property(nonatomic, strong) STOrderSumCountSumModel * storeCount;
//@property(nonatomic, strong) NSArray * stylistCount;
//@end

////订单统计详情
//@protocol STOrderCountInfoModel
//@end
//@interface STOrderCountInfoModel : NSObject
//@property(nonatomic, strong) NSString * picture;
//@property(nonatomic, strong) NSString * name;
//@end

#pragma mark 服务类目


@protocol STServiceOOModel
@end
@interface STServiceOOModel : NSObject

@property(nonatomic, strong) NSString * optionvalue;//选项设值
@property(nonatomic, assign) float price;//价格
@property(nonatomic, assign) float spcId;//套餐选项ID
@property(nonatomic, assign) long serviceOptionId;//服务选项ID
@end
//服务详情 服务选项
@protocol STServiceOptionModel
@end
@interface STServiceOptionModel : NSObject
@property(nonatomic, assign) long categoryId;//类目ID
@property(nonatomic, assign) long objectId;//选项ID
@property(nonatomic, assign) long optionId;//选项ID
@property(nonatomic, assign) long serviceOptionId;//服务选项ID
@property(nonatomic, assign) float price;//价格
@property(nonatomic, assign) long spcId;// 套餐选项ID
@property(nonatomic, strong) NSString * optiontitle;//选项标题
@property(nonatomic, strong) NSString * optionname;//选项名称
@property(nonatomic, strong) NSString * optionvalue;//选项设值
@property(nonatomic, strong) NSString * optionbutton;
@property(nonatomic, strong) NSMutableArray<STServiceOOModel> * serviceOptionDetails;
@property(nonatomic, strong) NSMutableArray<STServiceOOModel> * pakageOptionDetails;
@end

//服务详情 套餐选项
@protocol STServiceCategoryModel
@end
@interface STServiceCategoryModel : NSObject
@property(nonatomic, assign) int objectId;
@property(nonatomic, assign) int package1;
@property(nonatomic, assign) int package2;
@property(nonatomic, strong) NSString * describe;
@property(nonatomic, strong) NSString * name;
@property(nonatomic, strong) NSArray<STServiceOptionModel> * options;
@end


//服务详情
@protocol STServiceInfoModel
@end
@interface STServiceInfoModel : NSObject
@property(nonatomic, assign) long categoryId;//类目ID
@property(nonatomic, assign) long serviceId;// 服务ID
@property(nonatomic, assign) long stylistId;// 美发师ID
@property(nonatomic, assign)int priceType ;//价格类型1确定价格（price），2价格区间（fromPrice，toPrice） ,
@property(nonatomic, assign)float fromPrice ;//价格起点
@property(nonatomic, assign)float toPrice ;//价格高点
@property(nonatomic, assign) float costprice;// 服务原价
@property(nonatomic, assign) float price;//价格
@property(nonatomic, assign) float duration;//所需时间
@property(nonatomic, assign) int packageId;// 套餐ID
@property(nonatomic, assign) int times;// 使用次数
@property(nonatomic, assign) int isoption;//是否有选项1有0没有
@property(nonatomic, assign) int packageType;//套餐类型1单项2多项
@property(nonatomic, assign) int serviceType;//服务类型1无选项服务2有选项服务3单项套餐4多项套餐
@property(nonatomic, strong) NSString * decription;//服务描述
@property(nonatomic, strong) NSString * servicename;// 服务名称
@property(nonatomic, strong) NSString * locktime;// 锁定时间 eg:@"0.5,1.5,3";
@property(nonatomic, strong) NSString * picture;//  服务主图
@property(nonatomic, strong) UIImage * mainImg;//  服务主图
@property(nonatomic, strong) NSMutableArray<STServiceOptionModel> * packageOptions;//套餐选项
@property(nonatomic, strong) NSMutableArray<STServiceOptionModel> * serviceOptions;//服务选项
@property(nonatomic, strong) NSArray<STServiceOptionModel> * options;
@end















